mob
	player
		var
			playing = 0
			offline = 0 // 1 if offline


		/*
		// MENU
		*/
		verb
			mainmenu()
				set name = "mainmenu"
				winshow(src,"menu",1)
				winshow(src,"HowToPlay",0)
				winshow(src,"credits",0)
				winshow(src,"settings",0)
				winshow(src,"game",0)


		// Play
		verb
			play()
				set name = "play"
				winset(src, "menu.btn_play", "is-disabled=true")
				winshow(src,"menu",0)
				winshow(src,"game",1)
				playing = 1
				stop_all = 0

		//Credits
		verb
			credits()
				set name = "credits"
				winshow(src,"menu",0)
				winshow(src,"credits",1)


		// HowToPlay
		verb
			howtoplay()
				set name = "HowToPlay"
				winshow(src,"menu",0)
				winshow(src,"HowToPlay",1)

		//Settings
		verb
			settings()
				winshow(src,"menu",0)
				setting_form()
